package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @author ：zfr
 * @date ：2022/3/24 16:46
 */
@FieldTypeAnnotation(tableName = "t_l_ck_wingroom_share_event_reward", desc = "厢房呼朋唤友领奖日志", autoSave = true, uploadCk = true)
public class LogWingRoomShareEventReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "呼朋唤友用户id")
    private long hostUserId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "触发时间")
    private Date triggerTime;
    @FieldTypeAnnotation(desc = "领奖时间")
    private Date hostRewardTime;

    public LogWingRoomShareEventReward(long userId, long hostUserId, String reward, Date triggerTime, Date hostRewardTime) {
        this.userId = userId;
        this.hostUserId = hostUserId;
        this.reward = reward;
        this.triggerTime = triggerTime;
        this.hostRewardTime = hostRewardTime;
    }

    public long getUserId() {
        return userId;
    }

}
